import { PanelDataProvider } from './panel-data-provider/panel-data-provider';

export { PanelContentComponentProvider } from './panel-content-component-provider/panel-content-component-provider';
export { PanelItemProvider } from './panel-item-provider/panel-item-provider';
export { PanelDataProvider } from './panel-data-provider/panel-data-provider';
export { PanelLayoutComponentProvider } from './panel-layout-component-provider/panel-layout-component-provider';
export { PanelLayoutProvider } from './panel-layout-provider/panel-layout-provider';
export { PanelItemComponentProvider } from './panel-item-component-provider/panel-item-component-provider';
export { PanelLayoutDataProvider } from './panel-layout-data-provider/panel-layout-data-provider';
export { PanelContentProvider } from './panel-content-provider/panel-content-provider';

export type RegisterPanelDataCallback = (data: unknown) => PanelDataProvider;

declare module 'sortablejs' {
  export interface SortableEvent {
    /**
     * 源拖拽事件
     *
     * @author chitanda
     * @date 2022-02-18 10:02:09
     * @type {DragEvent}
     */
    originalEvent: DragEvent;
  }
}
